package com.lin.springcloud.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Created by Lin Weihong
 * @date on 2022/4/2 22:24
 */
@Configuration
public class OpenFeignConfig {
    //配置日志级别，记得在yaml中开启
    @Bean
    Logger.Level feignLoggerLevel() {
        return Logger.Level.FULL;
    }
}
